#include<stdio.h>
main()
{
    int a[10],i,sum=0;
    for(i=0;i<10;i++)
    {
        printf("Enter the array [%d]: ",i);
        scanf("%d",&a[i]);
        sum+=a[i];
    }
    
    printf("The Sum of array is :%d\n",sum);
     
}
